package com.ouc.yyi.springbootwebapp.yaml.bo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @description:
 * @author: yyi
 * @date: 2022/8/27 21:40
 * @version: 1.0
 **/
@Component
@ConfigurationProperties(prefix = "team")
@Data
@PropertySource("classpath:configs.yml")
public class ReadProperties {

    private String name;

    private String num;

    private Map<String, String> map;

    private List<String> ebdc;

    private Map<String, String> info;


}
